package com.ning;

import java.io.IOException;
import javax.servlet.http.*;

import com.ning.google.SendMailManager2;

@SuppressWarnings("serial")
public class GoogleAnalyticsAutoEmailServlet2 extends HttpServlet {
	public void doGet(HttpServletRequest request, HttpServletResponse response){
		try {
			String content = SendMailManager2.instance().send();
			request.setCharacterEncoding("utf-8");
			response.setContentType( "text/html;charset=utf-8"); 
			response.getWriter().write(content);
		} catch (IOException e1) {
			e1.printStackTrace();
		}
	}
}
